{% extends 'depart_layout.html' %}
<!--  增加部分   -->
{% block content %}
<div class="container">
    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">
            <span class="glyphicon glyphicon-th-list" aria-hidden="true" style="margin-right: 5px;"></span>
            <span> 新建部门 </span>
        </div>
        <div class="panel-body">
            <form action="/depart/add/" method="post">
                {% csrf_token %}
                <div class="form-group">
                    <label>部门名称</label>
                    <input type="text" class="form-control" placeholder="部门名称" name="depart_title" />
                </div>
                <button type="submit" class="btn btn-primary">保存</button>
            </form>
        </div>
    </div>
</div>
{% endblock %}